package PolymorphicHomeworkTest4;

public class Flighter extends Weapon{
    public void attack(){
        System.out.println("歼击机发射了一颗导弹");
    }
    public void move(){
        System.out.println("战斗机飞行了50米");
    }
}
